<?php
    list($REQUEST_URI) = explode('?',$_SERVER['REQUEST_URI'],2);
    $REQUEST_URI = htmlspecialchars(rawurldecode($REQUEST_URI));
?>
<!DOCTYPE html>
<html>
<head>
<title><?php echo __('Internal Server Error');?></title>
<style type="text/css">
body{
font-size:9pt;
padding:10pt;
margin:0;
color:#111;
font-family:Arial,sans-serif,Helvetica,"宋体";
}
h1{
font-size:14pt;
font-weight:bold;
padding:0 0 10px 20px;
line-height:1.2em;
margin:0;
color:#911;
_padding-left:0px;
}
pre{
margin:5px;
padding:4px 10px;
border:1px dotted #ff9797;
background:#fffff2;
-moz-border-radius:4px;
-webkit-border-radius:4px;
border-radius:4px;
}
.box{
border:1px solid #ccc;
padding:10px;
background:#ffffd6;
line-height:1.4em;
-moz-border-radius:4px;
-webkit-border-radius:4px;
border-radius:4px;
}
.bad_icon_div{position: absolute;margin-top:3px;}
.icon {
float: left;
_display:none;
}
.icon-bad-circle {
background-color: #911;
border-radius:8px;
-webkit-border-radius:8px;
-moz-border-radius:8px;
width: 16px;
height: 16px;
position: absolute;
top:0;
left:0;
}
.icon-bad-dot-1 {
background-color: #fff;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
width: 2px;
height: 3px;
position: absolute;
top: 4px;
left: 4px;
}
.icon-bad-dot-2 {
background-color: #fff;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
width: 2px;
height: 3px;
position: absolute;
top: 4px;
left: 10px;
}
.icon-bad-line {
background-color: #fff;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
-webkit-border-top-left-radius: 8px;
-webkit-border-top-right-radius: 8px;
-moz-border-radius-topleft: 8px;
-moz-border-radius-topright: 8px;
width: 8px;
height: 3px;
position: absolute;
top: 9px;
left: 4px;
}

.icon-bad .icon-bad-line {
-webkit-transition-property: -webkit-border-bottom-left-radius, -webkit-border-bottom-right-radius, -webkit-border-top-left-radius, -webkit-border-top-right-radius;
-webkit-transition-duration: 0.333s;
-webkit-transition-timing-function: linear;
-moz-transition-property: -moz-border-radius-bottomleft, -moz-border-radius-bottomright, -moz-border-radius-topleft, -moz-border-radius-topright;
-moz-transition-duration: 0.333s;
-moz-transition-delay: 0;
-moz-transition-timing-function: linear;
}
.icon-bad:hover .icon-bad-line {
-webkit-border-bottom-left-radius: 8px;
-webkit-border-bottom-right-radius: 8px;
-webkit-border-top-left-radius: 0;
-webkit-border-top-right-radius: 0;
-moz-border-radius-bottomleft: 8px;
-moz-border-radius-bottomright: 8px;
-moz-border-radius-topleft: 0;
-moz-border-radius-topright: 0;
}

</style>
</head>
<body>
<div class="bad_icon_div">
    <div class="icon icon-bad">
        <div class="icon-bad-circle"></div>
        <div class="icon-bad-dot-1"></div>
        <div class="icon-bad-dot-2"></div>
        <div class="icon-bad-line"></div>
    </div>
</div>
<h1><?php echo __('Internal Server Error');?></h1>
<div class="box">
    <?php echo __('The requested URL :REQUEST_URI was error on this server.', array(':REQUEST_URI'=>$REQUEST_URI) );?>

    <br />
    <br />
    <b><?php echo __('Error Message:');?></b>
    <pre><?php echo $error;?></pre>
</div>
</body>
</html>